package com.ccq;

import javax.jms.Topic;

import org.apache.activemq.command.ActiveMQTopic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class BeaApplication {

	public static void main(String[] args) {
		SpringApplication.run(BeaApplication.class, args);
	}
	@Bean
    public  Topic topic() {
       return new ActiveMQTopic("topic");
    }
}
